package com.yang.leather.admin.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.yang.leather.admin.dao.IPubConfigDao;
import com.yang.leather.admin.pojo.PubConfig;
import com.yang.leather.admin.service.IPubConfigService;
import com.yang.leather.core.LeatherCoreServiceImpl;

@Service("pubConfigService")
@Transactional
public class PubConfigServiceImpl extends LeatherCoreServiceImpl<PubConfig> implements IPubConfigService {
	
	@Autowired
	public void setDao(@Qualifier("pubConfigDao")
			IPubConfigDao dao){
		super.setDao(dao);
	}
	
	public IPubConfigDao getDao(){
		return (IPubConfigDao)super.getDao();
	}
}
